package ModelLayer;

import java.util.Date;

public class Delivery {
	private int deliveryId;
	private double deliveryCost;
	private String deliveryState;
	private Date deliveryDate;
	
	public Delivery(int deliveryId, double deliveryCost, String deliveryState, Date deliveryDate){
		this.deliveryId = deliveryId;
		this.deliveryCost = deliveryCost;
		this.deliveryState = deliveryState;
		this.deliveryDate = deliveryDate;
	}
	
	public Delivery(){
		this.deliveryId = 0;
		this.deliveryCost = 0.0;
		this.deliveryState = "";
		this.deliveryDate = new Date();
	}

	public int getDeliveryId() {
		return deliveryId;
	}

	public void setDeliveryId(int deiveryId) {
		this.deliveryId = deiveryId;
	}

	public double getDeliveryCost() {
		return deliveryCost;
	}

	public void setDeliveryCost(double deliveryCost) {
		this.deliveryCost = deliveryCost;
	}

	public String getDeliveryState() {
		return deliveryState;
	}

	public void setDeliveryState(String deliveryState) {
		this.deliveryState = deliveryState;
	}

	public Date getDeliveryDate() {
		return deliveryDate;
	}

	public void setDeliveryDate(Date deliveryDate) {
		this.deliveryDate = deliveryDate;
	}
}
